package com.numberone.iotplatform.dto.a_i_box;

import lombok.Data;
import java.util.List;
@Data
public class AlertRuleConfigDTO {
    private Boolean surveillanceEnabled; // GET 响应时有
    private AlertRule alertRules; // GET 响应时嵌套
    // POST 请求体直接是 AlertRule 结构
    private Integer mode;
    private Boolean enable;
    private Integer alertType;
    private Integer alertSubType;
    private Integer areaType;
    private List<Integer> targetRange;
    private Boolean personPreOverWall;
    private List<Integer> timeRange;
    private Integer cooldownDuration;
    private List<Point> alertArea;
    private Integer stayDuration;
    @Data public static class AlertRule { /* 包含上面所有字段 */ }
    @Data public static class Point {
        private Integer x;
        private Integer y;
    }
}